package com.service;

import com.domain.Employee;
import com.qo.PageResult;
import com.qo.QueryObject;

import java.util.List;

/**
 * @author shkstart
 * @create 2022/3/11-11:28
 */
public interface EmployeeService {
    void delete(Long id);
    void save(Employee employee, Long[] roleIds);
    Employee get(Long id);
    List<Employee> listAll();
    void update(Employee employee, Long[] roleIds);
    PageResult<Employee> query(QueryObject queryObject);

    Employee login(String username, String password);
    void updatePassword(Employee employee);
}
